home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / pcv05n09.zip / SYSWIT.ZIP / SYSWITCH.TXT < prev   
Text File  |  1992-01-17  |  5KB  |  136 lines

  1.  
  2.          *** SySwitch 2.05  *** 
  3.  
  4. SySwitch is designed to make it easy to switch
  5. between up to five alternative SYSTEM.INI file
  6. configurations. You might, for instance, have
  7. alternative SYSTEM.X files for use with different
  8. screen drivers or different Windows shells.
  9.  
  10. SYSWITCH.EXE and SYSWITCH.TXT should both be placed
  11. in your WINDOWS directory.
  12.  
  13. Before you can put SySwitch to use, you'll
  14. have to create the alternative SYSTEM.INI files that
  15. you'll use with it, copying your current SYSTEM.INI
  16. to them, making the changes that you want, and
  17. then giving them names like
  18. SYSTEM.800 for a version of SYSTEM.INI that
  19. uses an 800x600 video driver, or SYSTEM.NDW
  20. for a version that uses Norton Desktop as the
  21. Windows shell.
  22.  
  23. Next, run SYSWITCH.EXE and select the Configure
  24. option on its file menu. Select the alternative
  25. driver that you want to change on the drop down
  26. list box (all five alternatives will read
  27. "Default" the first time you run SySwitch.
  28. Then use the edit boxes below to enter a name for
  29. your alternative configuration, and to designate 
  30. the name of the SYSTEM.INI alternative that it
  31. should use.
  32.  
  33. For instance, you might name one alternative:
  34. Norton Desktop, 800x600x16 display
  35. and identify SYSTEM.NOR as the configuration file.
  36. SYSTEM.NOR would be a copy of your standard SYSTEM.INI
  37. file in which you'd changed
  38.  
  39. SHELL=PROGRMAN.EXE
  40. to
  41. SHELL=NDW.EXE
  42.  
  43. and
  44.  
  45. DISPLAY.DRV=VGA.DRV
  46. to
  47. DISPLAY.DRV=VGA800.DRV.
  48.  
  49.  
  50. You should create these alternative files prior to 
  51. attempting to use them with SySwitch.
  52.  
  53. Once you've made your changes on the File Configure
  54. screen, click OK to save them (SySwitch saves
  55. its own configuration information in a file
  56. called SYSWITCH.INI in your Windows directory)
  57. or Cancel to abandon the changes.
  58. When you press restart, SySwitch deletes SYSTEM.BAK,
  59. renames SYSTEM.INI SYSTEM.BAK, copies
  60. the specified configuration file to SYSTEM.INI,
  61. and then restarts Windows.
  62.  
  63. In addition, per the suggestion of Costas Kitsos,
  64. SySwitch accepts command line parameters. Thus, 
  65. you can create a Program Manager or Norton
  66. Desktop icon for it that automatically restarts
  67. Windows using the system file specified on the
  68. icon's command line. For instance, if you 
  69. launched SySwitch with the command line:
  70.  
  71. SYSWITCH.EXE SYSTEM.102
  72.  
  73. It would look for the file System.102 in your
  74. Windows directory and use it to restart Windows.
  75. The file specified on the command line must be in
  76. your Windows directory, SySwitch will not look
  77. elsewhere for it even if you specify another
  78. directory.
  79.  
  80. Whether you use a command line parameter or select
  81. from the list of alternative configuration files,
  82. the configuration file that SySwitch uses to restart
  83. Windows must be a valid SYSTEM.INI-type file, or 
  84. Windows will not run. SySwitch does some testing
  85. to ensure that the specified file exists. However, 
  86. it is undoubtedly possible to fool
  87. SySwitch into attempting to restart Windows with a
  88. non-existent or invalid configuration file. If
  89. this happens, and you are unable to start Windows,
  90. copy SYSTEM.BAK to SYSTEM.INI to restore your
  91. previous configuration.
  92.  
  93. Many of the routines used here were borrowed from
  94. other applications available on the MSBASIC forum.
  95. Specifically, the CopyFile routine was described in 
  96. the VBTIPS.TXT file, the 3-D framing routines are 
  97. variations of one used by the VBTIPS reader,
  98. and the RestartProc routine is detailed in the
  99. MOREAPI.MAK file. Sincere thanks to the authors of 
  100. each routine.
  101.  
  102. Paul Bonner
  103. Senior Editor
  104. PC/Computing
  105. Compuserve ID: 76000,13
  106. MCI Mail: PBONNER
  107.  
  108. ==============================================
  109. SySwitch 2.0 Version History
  110. ==============================================
  111. 2.01 Changes
  112. Configure listbox & Lalal option buttons linked
  113. Configure edit box text selected when they get focus
  114. Windows directory caption bug fixed
  115. ==============================================
  116. 2.02 Changes
  117. Fixed operation of Cancel button on Config screen
  118. Added Instructions menu item and form
  119. ==============================================
  120. 2.03 Changes
  121. Config unload bug fixed
  122. Uses GETWINDIR rather than GETDOSENVIRONMENT function
  123. Added Print command to Instructions form
  124. Add ability to scroll Instructions from keyboard
  125. Added ability to launch with command line parameter.
  126. Added status-line Help text to Configure screen.
  127. ==============================================
  128. 2.04 Changes
  129. Fixed bug introduced in 2.03 that prevented changes to
  130. the System file specification from being saved.
  131. ==============================================
  132. 2.05 Changes
  133. Added Initial screen to amaze and amuse during
  134. loading process.
  135. ==============================================
  136.